package com.example.drools_springboot_demo.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by DongChenchen on 2018/5/2 0002
 * 交易记录
 */
public class Transaction implements Serializable {
    private  String coin;//交易币种
    private BigDecimal count;//交易数量
    private Date data;//交易时间
    public Transaction() {
    }
    public Transaction(String coin, BigDecimal count, Date data) {
        this.coin = coin;
        this.count = count;
        this.data = data;
    }

    public String getCoin() {
        return coin;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }
}
